package com.ruoyi.system.domain.po;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 处方明细对象 prescription_detail
 *
 * @author qichi
 * @date 2023-07-05
 */
@Data
@Validated
public class OutboundDetailPO {

    @NotNull
    private Long id;

    /**
     * 实际数量(空-计划数量)
     */
    //@NotNull
    @DecimalMin(value = "0.01")
    private BigDecimal realityNum;

}
